package pcb.control.commands 
{
	import com.intel.patterns.cairngorm.CairngormEvent;
	import com.intel.utils.Debugger;
	
	/**
	 * ...
	 * @author Fintan Boyle
	 */
	public class Cmd_loadLessonAssets extends AbstractCommand 
	{
		
		public function Cmd_loadLessonAssets() 
		{
			
		}
		
		override public function execute(event:CairngormEvent):void 
		{
			Debugger.traceOut("Cmd_loadLessonAssets > execute() " + event.data);
			//dhoman - need to create the queue
			
			/*
			var tmpMessage:String = "";
			tmpMessage += "\n\t	//retrieve IAsset value objects (example: SoundVO if it is audio)";
			tmpMessage += "\n\t	//from assetModel.assets";
			
			tmpMessage += "\n\t	//create a Queueloader instance and add each IAsset (getAsset() as Sound) to queue";
			tmpMessage += "\n\t	//assetModel.queueLoader.addItem()";
			tmpMessage += "\n\t	// add listeners ITEM_COMPLETE, QUEUE_COMPLETE";
				tmpMessage += "\n\t	\t //(1)asset.setLoaded(true) when asset is loaded";
				tmpMessage += "\n\t	\t //(2)chk asset count of each slide and update slide.setLoaded(true) ";
					tmpMessage += "\n\t	\t\t//when all slide assets are loaded";
				tmpMessage += "\n\t	\t//(3)lessonStateModel.setLoaded(true) when all slides are loaded";
			
			Debugger.traceOut("\t " + tmpMessage);
			*/
		}
		
	}
	
}